package com.example.user.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.common.api.user.Test;
import com.example.common.model.Catalog;
import com.example.user.dao.TestDao;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Auther: Aaron
 * @Date: 2018/9/3 09:56
 * @Description:
 */

@Service(version = "1.0.0")
@org.springframework.stereotype.Service
public class TestService implements Test {
    @Autowired
    private TestDao dao;

    @Override
    public Catalog test(){
        System.out.println("test");
        System.out.println(dao.test());
        return dao.test();
    }
}
